/*use std::collections::HashMap;
use std::rc::Rc;
use std::sync::{RwLock};
use crate::websocket_router::{RpcRequest, RpcResponse};

static mut ROUTERS: HashMap<&'static str, Rc<RpcCallBack>> = HashMap::new();

// pub unsafe fn add_router(path: &'static str, callback: RpcCallBack) {
//     ROUTERS.insert(path, Rc::new(callback));
//
// }
//
// pub unsafe fn get_router(path: &'static str) -> Option<Rc<RpcCallBack>> {
//     ROUTERS.get(path).cloned()
// }

pub enum RpcWebSocketCallback {
    Callback(RpcCallback, Callback<RpcResponse>),
}

pub struct RpcCallBack {
    pub callback: String,
}*/